
<div class="box_posts">
    <div class="top">
        <h4 class="title"><span><?php echo CHtml::link('more ...', array('posts/index', 'node' => $node_id)); ?></span><?php echo CHtml::encode($node_name); ?></h4>
    </div>
    <div class="body">
        <ul class="lists">
            <?php foreach ($posts as $post): ?>
            <li><?php echo CHtml::link(YUtil::substr(CHtml::encode($post->title), 16), array('posts/view', 'id' => $post->id)); ?><span><?php echo date('Y-m-d', $post->created); ?></span></li>
            <?php endforeach; ?>
        </ul>
    </div>
</div>
